BaseComplexIndicator
StockSharp.Algo.Indicators
The base indicator, built in form of several indicators combination.
Inherits: BaseIndicator
Implements: IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Constructors
BaseComplexIndicator(IIndicator[])
Initializes a new instance of the BaseComplexIndicator.
- innerIndicators
- Embedded indicators.
Properties
InnerIndicators : IReadOnlyList<IIndicator>
Embedded indicators.
Mode : ComplexIndicatorModes
Embedded indicators processing mode. The default equals to Parallel.
NumValuesToInitialize : int
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
Methods
ClearInner()
Clear InnerIndicators.
OnCreateValue(DateTime) : IIndicatorValue
Create a new instance of IIndicatorValue for the specified time.
- time
- Time
Returns: IIndicatorValue
OnProcess(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
Returns: The resulting value.
Process(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.